// const TIME = require('./23-dateFormat.js')
// const TIME =require('./itheima-tools/index')
const itheima = require('./itheima-tools')


//调用方法，进行时间的格式化
// const dt = new Date();

// const newDT =itheima.dateFormat(dt);
// console.log(newDT);

const htmlstr = '<h1 title="abc>这是h1标签<span>123&nbsp;</span></h1>'
const str = itheima.htmlEscape(htmlstr)
console.log(str)

const str1 = itheima.htmlUnEscape(str)
console.log(str1)

// 安装包 npm install moment
